package com.cho.core.exception;

import com.cho.core.vo.ProjectVo;

public class DbConnectionException extends Exception {

	private static final long serialVersionUID = 7573622996603802650L;
	
	private ProjectVo vo;
	
	public DbConnectionException(ProjectVo vo) {
		this.vo = vo;
	}

	@Override
	public String getMessage() {
		return "DB 접속 중 오류가 발생하였습니다. 접속정보[" + vo.toStringDbInfo() + "]" + super.getMessage();
	}
}
